Understanding Rag: Retrieval Augmented Generation In Ai